import axios from "axios";//导入axios进行http访问
import {apiPrefix} from './config'


export  const userService={
    list:params =>axios.get(apiPrefix+'users'),
    create:params=>axios.post(apiPrefix+"users/create",params),
}